import java.util.Scanner;

public class YiWeiShuZhu {
    public static void main(String[] args) {
        int [] nn={8,4,2,1,23,344,12};
        Scanner input = new Scanner(System.in);
        int a =input.nextInt();
        System.out.print("请输入一个数");
        int sum=0;
        boolean flag=false;
    for(int i=0;i<nn.length;i++){
        System.out.println(nn[i]);
        sum +=nn[i];
        if (a==nn[i]){
            flag=true;
        }
    }System.out.println("和是"+sum);
    if(flag){
        System.out.print("猜对了");
    }else{
        System.out.print("猜错了");

    }
}
}